package cn.lili.modules.member.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.member.client.MemberEvaluationClient;
import cn.lili.modules.member.entity.dos.MemberEvaluation;
import cn.lili.modules.member.entity.dto.EvaluationQueryParams;
import cn.lili.modules.member.entity.dto.MemberEvaluationDTO;
import cn.lili.modules.member.entity.vo.EvaluationNumberVO;
import cn.lili.modules.member.entity.vo.MemberEvaluationVO;
import cn.lili.modules.member.entity.vo.StoreRatingVO;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author: ftyy
 * @date: 2022-01-17 11:02
 * @description: 会员商品评价Fallback
 */
public class MemberEvaluationFallback implements MemberEvaluationClient {

    @Override
    public MemberEvaluationDTO addMemberEvaluation(MemberEvaluationDTO memberEvaluationDTO, Boolean isSelf) {
        throw new ServiceException();
    }

    @Override
    public Boolean addMemberEvaluation(MemberEvaluation memberEvaluation) {
        throw new ServiceException();
    }

    @Override
    public MemberEvaluationVO queryById(String id) {
        throw new ServiceException();
    }

    @Override
    public boolean updateStatus(String id, String status) {
        throw new ServiceException();
    }

    @Override
    public boolean delete(String id) {
        throw new ServiceException();
    }

    @Override
    public boolean reply(String id, String reply, String replyImage) {
        throw new ServiceException();
    }

    @Override
    public EvaluationNumberVO getEvaluationNumber(String goodsId) {
        throw new ServiceException();
    }

    @Override
    public long getEvaluationCount(EvaluationQueryParams evaluationQueryParams) {
        throw new ServiceException();
    }

    @Override
    public List<Map<String, Object>> memberEvaluationNum(EvaluationQueryParams evaluationQueryParams) {
        return null;
    }

    @Override
    public StoreRatingVO getStoreRatingVO(EvaluationQueryParams evaluationQueryParams) {
        return null;
    }
}
